package blow.sky.quoted.request;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import lombok.Data;

import javax.validation.constraints.Email;

/**
 * @Description 注册请求
 * @Author 孙焰明
 * @Date 2021/5/21 10:32
 */

@Data
@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.ANY, getterVisibility=JsonAutoDetect.Visibility.NONE)
public class AccountRequest
{
    @Email
    private String email;
    private String password;
    private String code;
}
